home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / porttool.zip / PR.MAN < prev    next >
Text File  |  1992-12-03  |  4KB  |  78 lines

  1.  
  2.    NNAAMMEE
  3.       pr - prepare file(s) for printing
  4.  
  5.    SSYYNNOOPPSSIISS
  6.       pprr [ -hprt ] [ -c_k ] [ -e_k ] [ -m _s_t_r_i_n_g ] [ -l_n ] [ -n_k ] [ -o_k ]
  7.             [ -w_k ] [ _f_i_l_e ] ...
  8.  
  9.    DDEESSCCRRIIPPTTIIOONN
  10.       pprr prepares one or more _f_i_l_es for printing.  By default, the output
  11.       is separated into pages headed by a date, the name of the file, and
  12.       the page number.  pprr prints its standard input if there are no _f_i_l_e
  13.       arguments.  Formfeed characters in the input files cause page
  14.       breaks in the output, as expected.
  15.  
  16.    OOPPTTIIOONNSS
  17.       Options apply to all following _f_i_l_es:
  18.  
  19.       --hh          Display a short help message.
  20.  
  21.       --pp          Pause before beginning each page (after the first) if
  22.                   the output is directed to a terminal.  pprr will ring the
  23.                   bell at the terminal and wait for a RETURN.
  24.  
  25.       --rr          Do not print error messages if a file cannot be opened.
  26.  
  27.       --tt          Prepare the output as two-column landscape for a H-P
  28.                   LaserJet printer, and output directly to the printer
  29.                   port.  This option sets the page length to 56 lines,
  30.                   forces wrapping at 80 columns, and disables pausing
  31.                   (--pp switch).
  32.  
  33.       --cc_k         Clip lines at _k character positions.  If _k is 0 or is
  34.                   omitted, _k will default to 72.
  35.  
  36.       --ee_k         Expand TAB characters to _k character positions.  If _k
  37.                   is 0 or is omitted, _k will default to 8.  Without --ee,
  38.                   TAB characters are not expanded, but are printed
  39.                   literally (default).
  40.  
  41.       --hh _s_t_r_i_n_g   Use _s_t_r_i_n_g, instead of the file name, in the page
  42.                   header.  _s_t_r_i_n_g must be quoted if it contains spaces.
  43.  
  44.       --ll_n         Take the length of the page to be _n lines instead of
  45.                   the default 66.
  46.  
  47.       --nn_k         Provide _k-digit line numbering.  If _k is 0 or is
  48.                   omitted, _k will default to 5.  The number occupies the
  49.                   first _k+2 character positions of each line of output,
  50.                   as each number is followed by a colon (:) and a space
  51.                   character.  Wrapped lines are not numbered, but are
  52.                   offset the same amount as numbered lines.
  53.  
  54.       --oo_k         Offset each line by _k character positions, including
  55.                   the page header lines.  Wrapped lines are also offset.
  56.  
  57.       --ww_k         Wrap lines at _k character positions.  If _k is 0 or is
  58.                   omitted, _k will default to 72.
  59.  
  60.    EEXXAAMMPPLLEESS
  61.       Print _p_r_._c with four-column tabs, wrapping at column 60:
  62.  
  63.          pprr  --ee44  --ww6600  pprr..cc
  64.  
  65.       Print _r_a_l_p_h on screen, pausing every 24 lines:
  66.  
  67.          pprr  --pp  --ll2244  rraallpphh
  68.  
  69.       Print _w_i_n_d_o_w_s_._h two-up on the HP LaserJet, with a special message:
  70.  
  71.          pprr  --tt  --mm  ""TThhiiss  ccoouulldd  hhaappppeenn  ttoo  yyoouu..""  wwiinnddoowwss..hh
  72.  
  73.       Print all _._h files with eight-column tabs, clipping at column 72:
  74.  
  75.          pprr  --ee  --cc  **..hh
  76.  
  77.    CCooppyyrriigghhtt  ((cc))  FFrraannkk  WWhhaalleeyy  11999922..    AAllll  rriigghhttss  rreesseerrvveedd..
  78.